import { createSSRApp } from 'vue';
import App from './App.vue';
import 'virtual:uno.css';
import store from './store/index.js';
import { routeInterceptor } from './interceptors/route.js';

export function createApp() {
  const app = createSSRApp(App);

  app.use(store);
  app.use(routeInterceptor);

  return {
    app
  };
}
